package com.smartfactory.sail.vo.order;

import com.smartfactory.sail.entity.enums.ContractTypeEnum;
import com.smartfactory.sail.entity.enums.OrderItemStatusEnum;
import com.smartfactory.sail.entity.enums.OrderItemTypeEnum;
import com.smartfactory.sail.vo.item.ItemWorkingprocedureSimpleResp;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class ListOrderItemRsp {
    @ApiModelProperty(value = "生产编号")
    private String orderCode;

    @ApiModelProperty(value = "id")
    private Long id;


    @ApiModelProperty(value = "产品id")
    private Long itemId;

    @ApiModelProperty(value = "产品名称")
    private String itemName;

    @ApiModelProperty(value = "型号规格")
    private String specification;

    @ApiModelProperty(value = "交货数量")
    private Integer size;

    @ApiModelProperty(value = "交货日期")
    private String deliveryDate;

    @ApiModelProperty(value = "合同类型1普通2加急")
    private ContractTypeEnum contractType;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "订单类型1样品订单2合同订单")
    private OrderItemTypeEnum orderType;

    @ApiModelProperty(value = "多个生产图纸id用符号|隔开")
    private String productDrawings;

    @ApiModelProperty(value = "客户图纸多个用|隔开")
    private String custDrawings;

    @ApiModelProperty(value = "状态")
    private OrderItemStatusEnum status;

    @ApiModelProperty(value = "所有工序的进度条")
    private List<ItemWorkingprocedureSimpleResp> percents;
}
